﻿@model smartcrm.Models.PortalUser
@{Layout = "../Shared/_PortalLayout.cshtml";}
@{
    ViewBag.Title = "登录";
}
<script src="../../Scripts/Portal/login.js"></script>
 
<br />
<center>
<div id="loginForm" >
@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {   

    <table>
        <tr>
            <td colspan="3" class="PortalLoginTitle">自助服务登录入口</td>
        </tr>
        <tr>
            <td class="label">登录名</td>
            <td style="width:300px">
            @Html.TextBox("LoginId")
            <span class="redStar"></span></td> 
        </tr>
        <tr>
            <td class="label">密&nbsp;&nbsp;&nbsp;&nbsp;码</td>
            <td>@Html.Password("Password")<span class="redStar"></span></td>
        </tr>
        <tr>    
        <td></td>
        <td>
            <input type="button" id="btnLogin" value="登录" />&nbsp;&nbsp;
            <span id="errorMessage" class="errorSpan"></span> </td>
        </tr>
    </table>
    <div style="float:right"><a href='/Account/Login'>业务系统入口--></a></div>
}
</div>
</center>